#include <stdio.h>
int main(void)
{
	char str[1000] = "";
	gets(str);
	int i = 0, count = 0;
	while (str[i] != '\0' && i < 1000)
	{
		count ++;
		i++;
	}
	printf("字符数量为：%d",count);
}

